package com.gxa.hotel.admin.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.hotel.admin.mapper.RoomStateMapper;
import com.gxa.hotel.admin.service.RoomStateService;
import com.gxa.hotel.core.pojo.domain.RoomState;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hotel
 * @since 2022-07-19
 */
@Service
public class RoomStateServiceImpl  extends  ServiceImpl<RoomStateMapper,RoomState> implements RoomStateService  {

    @Autowired
    RoomStateMapper roomStateMapper;

    @Override
    public List<RoomState> selectByDate(String date) {
        return roomStateMapper.selectByDate(date);
    }
}
